public class HomeWork {
	private String name;
	private String fileName;

	public HomeWork(String name, String fileName) {
		this.name = name;
		this.fileName = fileName;
	}

	public String getName() {
		return name;
	}

	public String getFileName() {
		return fileName;
	}

	public boolean isTrue(HomeWork a) {
		boolean a1 = (a.name.getBytes().length == 2 * a.name.length());
		boolean a2 = a.fileName.equals("zip") || a.fileName.equals("rar");
		return a1 && a2;
	}
}
